'''
用户管理模块的接口
'''


def register(url, base_requests, cs):   # 注册
    '''
    注册接口
    :param url:    http://192.168.0.188:8088/
    :param base_requests:     BaseRequests的实例
    :param cs:          注册的参数
    :return:        响应
    '''

    url = url + "/futureloan/mvc/api/member/register"
    r = base_requests.post(url, data=cs)
    return r


def login(url, base_requests, cs):  # 登录
    url = url + "/futureloan/mvc/api/member/login"
    r = base_requests.get(url, params=cs)
    return r


def list(url, base_requests):  # 获取用户列表
    url = url + "/futureloan/mvc/api/member/list"
    r = base_requests.get(url)
    return r


def recharge():  # 充值
    pass




